var BuildingSpirte = cc.Sprite.extend({
    ctor:function(texture,mask){
        this._super();
        var img =cc.TextureCache.getInstance().addImage(texture);
        this.initWithTexture(img);
        this.mask = mask;
    },
    hide:function(){
        this.setVisible(false);
    },
    show:function(){
        this.setVisible(true);
    },
});